Optimal. Leaf size=59 \[ \frac {39}{16} \sqrt {3-x+2 x^2}+\frac {5}{4} x \sqrt {3-x+2 x^2}+\frac {17 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{32 \sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {1675, 654, 633,
221} \begin {gather*} \frac {5}{4} \sqrt {2 x^2-x+3} x+\frac {39}{16} \sqrt {2 x^2-x+3}+\frac {17 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{32 \sqrt {2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 221
Rule 633
Rule 654
Rule 1675
Rubi steps
\begin {align*} \int \frac {2+3 x+5 x^2}{\sqrt {3-x+2 x^2}} \, dx &=\frac {5}{4} x \sqrt {3-x+2 x^2}+\frac {1}{4} \int \frac {-7+\frac {39 x}{2}}{\sqrt {3-x+2 x^2}} \, dx\\ &=\frac {39}{16} \sqrt {3-x+2 x^2}+\frac {5}{4} x \sqrt {3-x+2 x^2}-\frac {17}{32} \int \frac {1}{\sqrt {3-x+2 x^2}} \, dx\\ &=\frac {39}{16} \sqrt {3-x+2 x^2}+\frac {5}{4} x \sqrt {3-x+2 x^2}-\frac {17 \text {Subst}\left (\int \frac {1}{\sqrt {1+\frac {x^2}{23}}} \, dx,x,-1+4 x\right )}{32 \sqrt {46}}\\ &=\frac {39}{16} \sqrt {3-x+2 x^2}+\frac {5}{4} x \sqrt {3-x+2 x^2}+\frac {17 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{32 \sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 55, normalized size = 0.93 \begin {gather*} \frac {1}{64} \left (4 (39+20 x) \sqrt {3-x+2 x^2}+17 \sqrt {2} \log \left (1-4 x+2 \sqrt {6-2 x+4 x^2}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 45, normalized size = 0.76
method | result | size |
risch | \(\frac {\left (20 x +39\right ) \sqrt {2 x^{2}-x +3}}{16}-\frac {17 \sqrt {2}\, \arcsinh \left (\frac {4 \sqrt {23}\, \left (x -\frac {1}{4}\right )}{23}\right )}{64}\) | \(35\) |
default | \(\frac {5 x \sqrt {2 x^{2}-x +3}}{4}+\frac {39 \sqrt {2 x^{2}-x +3}}{16}-\frac {17 \sqrt {2}\, \arcsinh \left (\frac {4 \sqrt {23}\, \left (x -\frac {1}{4}\right )}{23}\right )}{64}\) | \(45\) |
trager | \(\left (\frac {5 x}{4}+\frac {39}{16}\right ) \sqrt {2 x^{2}-x +3}-\frac {17 \RootOf \left (\textit {\_Z}^{2}-2\right ) \ln \left (4 \RootOf \left (\textit {\_Z}^{2}-2\right ) x -\RootOf \left (\textit {\_Z}^{2}-2\right )+4 \sqrt {2 x^{2}-x +3}\right )}{64}\) | \(61\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 46, normalized size = 0.78 \begin {gather*} \frac {5}{4} \, \sqrt {2 \, x^{2} - x + 3} x - \frac {17}{64} \, \sqrt {2} \operatorname {arsinh}\left (\frac {1}{23} \, \sqrt {23} {\left (4 \, x - 1\right )}\right ) + \frac {39}{16} \, \sqrt {2 \, x^{2} - x + 3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.77, size = 58, normalized size = 0.98 \begin {gather*} \frac {1}{16} \, \sqrt {2 \, x^{2} - x + 3} {\left (20 \, x + 39\right )} + \frac {17}{128} \, \sqrt {2} \log \left (4 \, \sqrt {2} \sqrt {2 \, x^{2} - x + 3} {\left (4 \, x - 1\right )} - 32 \, x^{2} + 16 \, x - 25\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {5 x^{2} + 3 x + 2}{\sqrt {2 x^{2} - x + 3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.93, size = 53, normalized size = 0.90 \begin {gather*} \frac {1}{16} \, \sqrt {2 \, x^{2} - x + 3} {\left (20 \, x + 39\right )} + \frac {17}{64} \, \sqrt {2} \log \left (-2 \, \sqrt {2} {\left (\sqrt {2} x - \sqrt {2 \, x^{2} - x + 3}\right )} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {5\,x^2+3\,x+2}{\sqrt {2\,x^2-x+3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________